Release 10.1A: OpenEdge Development:
Progress 4GL Reference
COMPILER system handle
A handle to information on a preceding COMPILE statement.
Syntax
attributeSpecifies an attribute of the COMPILER system handle.
Attributes
Example
The input for example procedure is as input a comma-separated list of source files. It compiles each of these procedures. If a compilation error occurs, an appropriate message is written to the
compile.msgsfile.
Notes
- If a compilation is successful, the COMPILER:ERROR attribute is set to FALSE.
- After a COMPILE statement, check the COMPILER:ERROR and COMPILER:WARNING attributes to determine whether the compilation was successful. If the value of ERROR is TRUE, you can use the FILE-NAME to determine in which source file the error occurred. You can use either the ERROR-ROW and ERROR-COLUMN attributes or the FILE-OFFSET attribute to determine where in the source file an error occurred. You can use this information to compose a message to display or write to a log file. To find the specific error and warning messages, check the ERROR-STATUS handle.
- The TYPE attribute returns the widget type, PSEUDO-WIDGET.
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |